package com.cn.kehong.domain;

import com.cn.kehong.utils.CommonUtil;

import java.util.Date;
import java.util.List;

public class FactoryShift {
    private String id;

    private String factoryName;

    private String shiftUserCount;

    private String shiftType;

    private String workShopUser;

    private String chiefUser;

    private String opearteUser;

    private String status;

    private Date createTime;

    private Date updateTime;

    private List<FactoryShiftOperate> factoryShiftOperates;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getFactoryName() {
        return factoryName;
    }

    public void setFactoryName(String factoryName) {
        this.factoryName = factoryName == null ? null : factoryName.trim();
    }

    public String getShiftUserCount() {
        return shiftUserCount;
    }

    public void setShiftUserCount(String shiftUserCount) {
        this.shiftUserCount = shiftUserCount == null ? null : shiftUserCount.trim();
    }

    public String getShiftType() {
        return shiftType;
    }

    public void setShiftType(String shiftType) {
        this.shiftType = shiftType == null ? null : shiftType.trim();
    }

    public String getWorkShopUser() {
        return workShopUser;
    }

    public void setWorkShopUser(String workShopUser) {
        this.workShopUser = workShopUser == null ? null : workShopUser.trim();
    }

    public String getChiefUser() {
        return chiefUser;
    }

    public void setChiefUser(String chiefUser) {
        this.chiefUser = chiefUser == null ? null : chiefUser.trim();
    }

    public String getOpearteUser() {
        return opearteUser;
    }

    public void setOpearteUser(String opearteUser) {
        this.opearteUser = opearteUser == null ? null : opearteUser.trim();
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public List<FactoryShiftOperate> getFactoryShiftOperates() {
        return factoryShiftOperates;
    }

    public void setFactoryShiftOperates(List<FactoryShiftOperate> factoryShiftOperates) {
        this.factoryShiftOperates = factoryShiftOperates;
    }
    public String getCreateTimeFt() {
        String formatTime = CommonUtil.getStrTime(getCreateTime(),"yyyy-MM-dd HH:mm:ss");
        return formatTime;
    }

}